package com.bluegalaxy.nhb.snservice.dao;

import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OverviewReq;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface UserGroupMapper {

    int insertBatch(@Param("tableName") String tableName,
                    @Param("list") List<String> list,
                    @Param("dt") String dt);

    List<Map<String,Object>> selectByTableName(@Param("tableName") String tableName,
                                               @Param("dt") String dt,
                                               @Param("startPage") Integer startPage,
                                               @Param("pageSize") Integer pageSize,
                                               @Param("list") List<Map<String,Object>> list);
    int countByTableName(@Param("tableName") String tableName);

    int countByDt(@Param("tableName") String tableName,@Param("dt") String dt);

    int deleteByTableName(@Param("tableName") String tableName);

    int countBySql(@Param("paramSql") String paramSql);

    List<String> selectBySql(@Param("paramSql") String paramSql);
}